package com.example.teachingevaluationsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 课程订阅
 * </p>
 *
 * @author lp
 * @since 2022-03-28
 */
@Getter
@Setter
@TableName("course_order")
@ApiModel(value = "CourseOrder对象", description = "课程订阅")
public class CourseOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("学生id")
    @TableField("student_id")
    private Long studentId;

    @ApiModelProperty("课程id")
    @TableField("course_id")
    private Long courseId;


}
